﻿using DemoForBillOcr;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;

namespace BillHelper
{
    public partial class loginForm : Form
    {
        WsdLogger wlog = new WsdLogger("GuanLiLog");
        private HeadJinDuTiao jdt = new HeadJinDuTiao();
        public loginForm()
        {
            InitializeComponent();
        }
        //移出
        private void loginbtn_MouseLeave(object sender, EventArgs e)
        {
            loginbtn.Image = Properties.Resources.dlbtn;
        }
        //移入
        private void loginbtn_MouseMove(object sender, MouseEventArgs e)
        {
            loginbtn.Image = Properties.Resources.diandlbtn;
        }

        private void loginbtn_Click(object sender, EventArgs e)
        {
            Hide();
            wlog.Write("进入主程序");
            Application.DoEvents();
            CompGroup compgroup = new CompGroup();
            compgroup.Show();
            compgroup.ShowForm2();
           // compgroup.ShowForm2Test();
        }
        public void SleepT() {
            jdt.Show();
        }
        private void loginForm_Load(object sender, EventArgs e)
        {
            this.password.Select();
            this.password.SelectionStart = this.password.TextLength;
        }
    }
}
